<?php


/* @var $models */

use app\components\BasePager;
use yii\data\ActiveDataProvider;
use yii\web\View;

/* @var $this View */
/* @var $dataProvider ActiveDataProvider */
$items = $dataProvider->getModels();
$count = $dataProvider->pagination->totalCount;
?>

<h4 class="h4-title"><b>今天</b>更新了<b class="text-error mx-2"><?= $count; ?></b>本漫画，持续更新中...</h4>

<div class="columns">
    <?= $this->render('_data', ['items' => $items]); ?>
</div>
<?= BasePager::widget(['pagination' => $dataProvider->getPagination()]); ?>